<?php

//include_once $_SERVER["DOCUMENT_ROOT"].'/./php_info.php' ;

@session_start();
include_once $_SERVER["DOCUMENT_ROOT"].'/./load_wact.php' ;
restore_error_handler();

define('WACT_CONFIG_DIRECTORY', $_SERVER["DOCUMENT_ROOT"]);


//include_once $_SERVER["DOCUMENT_ROOT"].'/include/inc.config.php';

include_once $_SERVER["DOCUMENT_ROOT"].'/./model/common/site.php' ;
include_once $_SERVER["DOCUMENT_ROOT"].'/./model/common/session.php';
include_once $_SERVER["DOCUMENT_ROOT"].'/./model/common/user.php' ;



//print 'WACT_ROOT: '.WACT_ROOT;
//print 'WACT_CONFIG_DIRECTORY: '. WACT_CONFIG_DIRECTORY;
//print 'WACT_MAIN_DIR: '. WACT_MAIN_DIR;
//print $_SERVER["DOCUMENT_ROOT"];


/*
need php programming?
contact FLV Hosting
*/

	# admin login and password
	define('_ADMIN_LOGIN', 'admin');
	define('_ADMIN_PASSWORD', 'avery');
	# db host
	//define('_DBHOST','localhost') ;
	define('_DBHOST','205.178.146.17') ;
	# db name
	define('_DBNAME','sportnews') ;
	# db user
	//define('_DBUSER','root') ;
	define('_DBUSER','sportnews') ;
	# db password
	//define('_DBPASS','Z-SolutionZ') ;
	define('_DBPASS','Vvernonjones2006') ;
	# db port
	define('_DBPORT','') ;
	# db socket
	define('_DBSOCKET','') ;
	# db encryption password
	define('_DBCRYPT','admin') ; //
	# http path
	# host $_SERVER['HTTP_HOST']
	define('_HOST',$_SERVER['HTTP_HOST']);
	define('_HTTP','http://'._HOST.'/premiumvideo/');
	//print _HTTP;
	# local application path
	//define('_APP',$_SERVER["DOCUMENT_ROOT"].'C:\\Apache\\htdocs\\sport2\\premiumvideo\\');
	define('_APP',$_SERVER["DOCUMENT_ROOT"].'/premiumvideo/');
	// define('_APP','/data/11/0/117/106/769106/user/786935/htdocs/premiumvideo/');
	# /data/11/0/117/106/769106/user/786935/htdocs/premiumvideo/
	# number of items per page in display
	define('_DISP_NUM',3);

	//print _APP;


	# no modification below this point
	define('_LIB', _APP . '/include');
	define('_OS',eregi('WIN',PHP_OS)?'windows':'unix');
	define('_S',_OS== 'windows' ? ';' : ':');
	define('_BIN',_OS== 'windows' ? 'b' : '') ;
	define('_ME',basename($_SERVER['PHP_SELF']));
	define('_E', _OS== 'windows' ? "\r\n" : "\n") ;
	define('_T',"\t") ;

header("Expires: Mon, 26 Jul 2007 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
?>